package com.outsource.framework.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="t_ad_relate_postion")
@GenericGenerator(name="t_ad_identity",strategy="identity")
public class Tadrelatepostion implements Serializable{

	private static final long serialVersionUID = 8886204510461681547L;

	@Id
	@Column(name="id",nullable=false,length=11)
	@GeneratedValue(generator="t_ad_identity")
	private Integer id;
	
	@Column(name="adId")
	private Integer adid;

	@Column(name="postionId")
	private Integer postionid;
	
	@Column(name="pic")
	private Date pic;
	
	public Tadrelatepostion(){}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAdid() {
		return adid;
	}

	public void setAdid(Integer adid) {
		this.adid = adid;
	}

	public Integer getPostionid() {
		return postionid;
	}

	public void setPostionid(Integer postionid) {
		this.postionid = postionid;
	}

	public Date getPic() {
		return pic;
	}

	public void setPic(Date pic) {
		this.pic = pic;
	}
}
